#ifndef JIEMIAN_H
#define JIEMIAN_H

#include <QWidget>
#include<QPushButton>
#include"tui.h"
#include<QMediaPlayer>
#include<QMediaPlaylist>

class jiemian : public QWidget
{
    Q_OBJECT
public:
    explicit jiemian(QWidget *parent = nullptr);
    void keyPressEvent(QKeyEvent* event);
    void paintEvent(QPaintEvent *event);
    void rechange();
signals:

public slots:
private:QPainter* pMap;
    boxGame* pBox;
    QMediaPlayer *player;
    QMediaPlaylist *playlist;
    QPushButton b;
QPushButton c;int core;
};

#endif // JIEMIAN_H
